package com.hospital.doctor.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Date;

//查房记录表
@AllArgsConstructor
@NoArgsConstructor
public class Round {
    //查房编号
    private int rId;
    //病人编号
    private int pId;
    //医生编号
    private int dId;
    //查房内容
    private String rContent;
    //查房时间
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm")
    private Date rRoundTime;
    //记录时间
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm")
    private Date rApplyTime;

    private Patient patient;

    public Patient getPatient() {
        return patient;
    }





    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public int getrId() {
        return rId;
    }

    public void setrId(int rId) {
        this.rId = rId;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public int getdId() {
        return dId;
    }

    public void setdId(int dId) {
        this.dId = dId;
    }

    public String getrContent() {
        return rContent;
    }

    public void setrContent(String rContent) {
        this.rContent = rContent;
    }

    public Date getrRoundTime() {
        return rRoundTime;
    }

    public void setrRoundTime(Date rRoundTime) {
        this.rRoundTime = rRoundTime;
    }

    public Date getrApplyTime() {
        return rApplyTime;
    }

    public void setrApplyTime(Date rApplyTime) {
        this.rApplyTime = rApplyTime;
    }
}
